
linux{
QMAKE_CXXFLAGS+= -fopenmp
QMAKE_LFLAGS +=  -fopenmp
INCLUDEPATH += /usr/include/gdcm-2.2/
LIBS += -L/usr/lib/
}

mac {
INCLUDEPATH += /usr/local/include/gdcm-2.4/
LIBS += -L/usr/local/lib/
}

win32{
INCLUDEPATH += "C:\Program Files (x86)\GDCM 2.4\include\gdcm-2.4"
LIBPATH     += "C:\Program Files (x86)\GDCM\lib"
}

LIBS        += -lgdcmMSFF   \
               -lgdcmDICT    \
               -lsocketxx     \
               -lgdcmCommon    \
               -lgdcmDSED       \
               -lgdcmIOD         \
               -lgdcmMEXD         \
#               -lgdcmzlib          \
               -lgdcmjpeg8          \
               -lgdcmjpeg12          \
               -lgdcmjpeg16           \
#               -lgdcmopenjpeg          \
#               -lgdcmexpat              \
#               -lgdcmgetopt              \
#               -lgdcmcharls

win32 {

LIBS        += -lws2_32 -lwsock32

}

mac {
TEMPLATE = app
QMAKE_MAC_SDK = macosx10.9
QMAKE_LFLAGS += -mmacosx-version-min=10.9
QMAKE_CXXFLAGS += -stdlib=libc++
QMAKE_CXXFLAGS += -mmacosx-version-min=10.9
QMAKE_CXXFLAGS_DEBUG = -O
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
LIBS += -stdlib=libc++
CONFIG += app_bundle
}
